#ifndef __JY61P_H
#define __JY61P_H
#include "main.h"                  // Device header

extern uint8_t angle[10];
extern uint8_t gyro[10];
extern uint8_t acc[10];
extern float pitch,roll,yaw;
extern float gyrox,gyroy,gyroz;
extern float accx,accy,accz;
void angle_update(void);
void gyro_update(void);
void acc_update(void);
uint8_t JY_push(uint8_t temp);


#endif

